package nige.first;

import javax.microedition.lcdui.Canvas;
import javax.microedition.lcdui.Display;
import javax.microedition.midlet.MIDlet;

import nige.portable.commun.MyCanvas;
import nige.portable.commun.Rendering;

public class MyMidlet extends MIDlet {
	public void startApp() {
		Canvas canvas = new MyCanvas();
		canvas.setFullScreenMode(true);
		Display display = Display.getDisplay(this);
		display.setCurrent(canvas);
		Rendering rend = new Rendering(canvas);
		rend.start();
	}
	public void pauseApp() {
	}
	public void destroyApp(boolean unconditional) {
	}
}
